
// A1_Aggregate_categories
//==============================================================================

// Description: This code creates files which for each country, aggregates the 
// data up if the country does not produce a specific good. E.g. if France does
// does not produce good 81000000, the 7-digit product category 8100000 is used 
// instead

clear
cd "D:\data_replication"

do estimation\2_product_list\country_specific_codes\A1_France.do
do estimation\2_product_list\country_specific_codes\A3_netherlands.do
do estimation\2_product_list\country_specific_codes\A4_germany.do
do estimation\2_product_list\country_specific_codes\A5_italy.do
do estimation\2_product_list\country_specific_codes\A6_uk.do
do estimation\2_product_list\country_specific_codes\A7_ireland.do
do estimation\2_product_list\country_specific_codes\A8_denmark.do
do estimation\2_product_list\country_specific_codes\A9_greece.do
do estimation\2_product_list\country_specific_codes\A10_portugal.do
do estimation\2_product_list\country_specific_codes\A11_spain.do
do estimation\2_product_list\country_specific_codes\A17_belgium.do
do estimation\2_product_list\country_specific_codes\A18_luxembourg.do
do estimation\2_product_list\country_specific_codes\A30_sweden.do
do estimation\2_product_list\country_specific_codes\A32_finland.do
do estimation\2_product_list\country_specific_codes\A38_austria.do
do estimation\2_product_list\country_specific_codes\A46_malta.do
do estimation\2_product_list\country_specific_codes\A53_estonia.do
do estimation\2_product_list\country_specific_codes\A54_latvia.do
do estimation\2_product_list\country_specific_codes\A55_lithuania.do
do estimation\2_product_list\country_specific_codes\A60_poland.do
do estimation\2_product_list\country_specific_codes\A61_czech_republic.do
do estimation\2_product_list\country_specific_codes\A63_slovakia.do
do estimation\2_product_list\country_specific_codes\A64_hungary.do
do estimation\2_product_list\country_specific_codes\A66_romania.do
do estimation\2_product_list\country_specific_codes\A68_bulgaria.do
do estimation\2_product_list\country_specific_codes\A91_slovenia.do
do estimation\2_product_list\country_specific_codes\A600_cyprus.do


